<?php
class App_Module_Admin_Component_Structure_Tpl_Moduleparams extends App_Module_Admin_Tpl_Block_Editform
{
	protected $_showDefined = true;
	protected $_form = false;

	public function Form(Mozg_Property_Params $obj)
	{
		$this->_form = $obj->Config()->GetPath();
		return parent::Form($obj);
	}

	public function GetBlock(Mozg_Property_Params $obj)
	{
		$this->obj = $obj;
		$this->block = parent::GetBlock($obj);
		return $this->render('structure/_pageparams.phtml');
	}

	protected function GetNewFieldUrl()
	{
		return array('module' => 'admin', 'ctrl' => 'structure', 'action' => 'newmodulefield');
	}
}